package com.itmeng.sh.fien;

import com.itmeng.sh.pojo.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(value = "order-service" ,fallback = OrderControllerImpl.class )
public interface OrderController {

  @GetMapping("/order/all")
    public List<User>  a();

}
